
#include <stdlib.h>
#include <stdio.h>
#include <assert.h>


struct Stack
{

   int *a;
   int top;
   int capacity;

};

void StackInit(struct Stack *pst, int defaultCapacity = 4);

void StackPush(struct Stack * pst,int x);

void StackPush(struct Stack * pst,double x);


